<script>
	import config from '@/app.config.js'
	export default {
		methods: {

		},
		// 监听 - 页面404
		onPageNotFound: function(e) {
			uni.redirectTo({
				url: config.error.url
			})
		},
		onLaunch: function() {
			if (config.debug) console.log('App Launch')
			let that = this;
		},
		onShow: function() {
			if (config.debug) console.log('App Show')
			uni.hideTabBar()
		},
		onHide: function() {
			if (config.debug) console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "./tm-vuetify/mian.min.css";
	// < !-- 主题包 -->
	@import "./tm-vuetify/scss/theme.css";
	@import "./common/css/app.scss";
</style>
